<?php declare(strict_types=1);

namespace Zyucv7\Components\DataAccess\Projs;

use Zyucv7\Components\DataAccess\BaseModel\Proj;

/**
 * 汇总工作表
 */
class Summary extends Proj
{
    protected $table = 'app_data__v3u6l4fs';

    public function groupTypes() {
        $query = $this->newQuery();
        $query->group('rwlb')->select('rwlb, COUNT(0) as total');
        return $query;
    }
}